//查询功能测试方法

var dao = require("../service/mongooseDao");

var albumId = "57a1f557ac78ebf087688ee6";
var config = {
	database: {
		host : "localhost",
		port : 27017,
		db_name : "nodejs_demo"
	}
};

dao.connect(config);
dao.model.musicModel.find({albumId : albumId}).exec(function(err, docs){
	console.log(docs);
	process.exit(-1);
});
